home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ Windows CE Path.xpl
< prev
next >
Wrap
Text File
|
1999-09-25
|
1KB
|
52 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="4"
"COUNT"="1"
"UIPATH"="System\File System\Folders: System"
"NAME"="CE File Sync Folder"
"VERSION"="1.32"
"LANGUAGE"="VBScript"
"TEXT 1"="Path"
"DESCRIPTION 1"="You can alter the synchronization path for the first Windows CE HPC here."
"DESCRIPTION 2"="Note that this plug-in will only work if your HPC was already connected!"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sPath1="HKCU\Software\Microsoft\Windows CE Services\Partners"
sPath2="\Services\Synchronization\Briefcase Path"
sPathEx=""
Sub Plugin_Initialize
if RegPathExists(sPath1) then
iCount=RegEnumPaths(sPath1)
if iCount>0 then
s=RegEnumElement(1)
sPathEx=sPath1 & "\" & s & sPath2
s=RegReadValue(sPathEx)
Call SetUIElement(1,s) 'set data in X-Setup
else
Disable
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if Right(s,1)<>"\" then
s=s & "\"
end if
Call RegWriteValue(sPathEx,s,1)
End Sub
Sub Plugin_Terminate
End Sub